<template>
<page path-name="draggable-panel">
    
    <draggable :column="3">
        <div slot="1">
            <panel caption-class="font-green-sharp" :sortable="true" caption-icon="icon-speech" title="Portlet" helper="details...">
                <div slot="actions">
                    <a href="javascript:;" class="btn btn-circle btn-default btn-sm">
                        <i class="fa fa-plus"></i> Add </a>
                </div>
                <scroller :height="200" rail-color="yellow" handle-color="#a1b2bd">
                    <h4>Heading Text</h4>
                    <p>
                            Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
                    </p>
                    <p>
                            nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
                    </p>
                </scroller>
            </panel>
            <panel portlet-class="light bg-inverse" :sortable="true" title="Input" caption-class="font-green-haze" caption-icon="icon-paper-plane">
                <div slot="actions">
                    <div class="portlet-input input-inline input-small">
                        <div class="input-icon right">
                            <i class="icon-magnifier"></i>
                            <input type="text" class="form-control input-circle" placeholder="search...">
                        </div>
                    </div>
                </div>
                
                <h4>Heading text goes here...</h4>
                <p>
                        Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis.
                </p>
            </panel>
            <panel portlet-class="box green-haze" :sortable="true" title="Portlet" caption-icon="fa fa-gift">
                <div slot="actions">
                    <a href="javascript:;" class="btn btn-default btn-sm">
                        <i class="fa fa-pencil"></i> Edit </a>
                        <a href="javascript:;" class="btn btn-default btn-sm">
                        <i class="fa fa-plus"></i> Add </a>
                </div>

                <h4>Heading Text</h4>
                <p>
                        Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur
                </p>
            </panel>
        </div>
        <div slot="2">
            <panel portlet-class="light bg-inverse" :sortable="true" caption-class="font-red-sunglo" caption-icon="icon-share" title="Portlet">
                <div slot="actions">
                    <div class="btn-group btn-group-devided" data-toggle="buttons">
                        <label class="btn btn-circle btn-transparent grey-salsa btn-sm active">
                        <input type="radio" name="options" class="toggle" id="option2">Week</label>
                        <label class="btn btn-circle btn-transparent grey-salsa btn-sm">
                        <input type="radio" name="options" class="toggle" id="option2">Month</label>
                    </div>
                </div>
                <scroller :height="200" :always-scrollbar="true"  rail-color="red" handle-color="green">
                    <h4>Heading Text</h4>
                    <p>
                            Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
                    </p>
                    <p>
                            nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
                    </p>
                </scroller>
            </panel>
            <panel portlet-class="box red-sunglo" :sortable="true" caption-icon="fa fa-gift" title="Portlet">
                <p>
                            Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis.
                </p>
                <p>
                        Nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus.
                </p>
                <div slot="actions">
                    <a href="javascript:;" class="btn btn-default btn-sm">
                    <i class="fa fa-pencil"></i> Edit </a>
                    <a href="javascript:;" class="btn btn-default btn-sm">
                    <i class="fa fa-plus"></i> Add </a>
                </div>
            </panel>
            <panel portlet-class="light bordered" :sortable="true" caption-class="font-yellow-crusta" caption-icon="icon-share" title="Portlet" helper="stats...">
                
                        Nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
                
                <div slot="actions">
                    <a class="btn btn-circle btn-icon-only btn-default" href="javascript:;">
                    <i class="icon-cloud-upload"></i>
                    </a>
                    <a class="btn btn-circle btn-icon-only btn-default" href="javascript:;">
                    <i class="icon-wrench"></i>
                    </a>
                    <a class="btn btn-circle btn-icon-only btn-default" href="javascript:;">
                    <i class="icon-trash"></i>
                    </a>
                </div>
            </panel>
        </div>
        <div slot="3">
            <panel portlet-class="light bordered" :sortable="true" caption-class="font-yellow-lemon" caption-icon="icon-pin" title="Tabs" :tabs-id="['tab1', 'tab2']" :tabs-name="['tab1', 'tab2']">
                <div class="tab-content">
                    <div class="tab-pane active" id="tab1">
                        <h4>Tab 1 Content</h4>
                        <p>
                                Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.ut laoreet dolore magna ut laoreet dolore magna. ut laoreet dolore magna. ut laoreet dolore magna.
                        </p>
                    </div>
                    <div class="tab-pane" id="tab2">
                        <h4>Tab 2 Content</h4>
                        <p>
                                Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo.
                        </p>
                    </div>
                </div>
            </panel>
            <panel portlet-class="box blue-hoki" :sortable="true" caption-icon="fa fa-gift" title="Portlet">
                Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis. eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis.
                <div slot="actions">
                    <a href="javascript:;" class="btn btn-default btn-sm">
                    <i class="fa fa-pencil"></i> Edit </a>
                    <div class="btn-group">
                        <a class="btn btn-sm btn-default" href="javascript:;" data-toggle="dropdown">
                        <i class="fa fa-user"></i> User <i class="fa fa-angle-down"></i>
                        </a>
                        <ul class="dropdown-menu pull-right">
                            <li>
                                <a href="javascript:;">
                                <i class="fa fa-pencil"></i> Edit </a>
                            </li>
                            <li>
                                <a href="javascript:;">
                                <i class="fa fa-trash-o"></i> Delete </a>
                            </li>
                            <li>
                                <a href="javascript:;">
                                <i class="fa fa-ban"></i> Ban </a>
                            </li>
                            <li class="divider">
                            </li>
                            <li>
                                <a href="javascript:;">
                                <i class="i"></i> Make admin </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </panel>
            <panel portlet-class="light bg-inverse" :sortable="true" caption-class="font-red-flamingo" caption-icon="icon-puzzle" title="Tools" helper="actions...">
                <div slot="tools">
                    <a href="javascript:;" class="collapse">
                    </a>
                    <a href="#portlet-config" data-toggle="modal" class="config">
                    </a>
                    <a href="javascript:;" class="reload">
                    </a>
                    <a href="javascript:;" class="fullscreen">
                    </a>
                    <a href="javascript:;" class="remove">
                    </a>
                </div>
                <h4>Heading text goes here...</h4>
                <p>
                        Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur.
                </p>
            </panel>
        </div>
    </draggable>
</page>
</template>
<script>
import Page from '../../../src/components/page.vue'
import Panel from '../../../src/components/panel.vue'
import Scroller from '../../../src/components/scroller.vue'
import Draggable from '../../../src/components/draggable.vue'

export default{
    components:{
        Page,
        Panel,
        Scroller,
        Draggable
    },
    data(){
        return {
            path: ''
        }
    },
    route:{
        data({to:{path}}){
            this.path = path
        }
    },
    ready(){
    }
}
</script>